package com.taru.university.mapper;

import com.taru.university.model.Photo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Mapper
@Component("photoMapper")
public interface PhotoMapper {
    Photo queryPhotoById(String articleId);

    void insertPhoto(Photo photo);

    void deletePhoto(String photoId);
}
